{include file="admin/header.tpl"}

<body>
    <div class="container">
        <div class="row">
            <div class="login-panel">
                {if isset($error)}<div class="alert alert-error">{$error}<a class="close" data-dismiss="alert">×</a></div>{/if}
                {if isset($message)}<div class="alert alert-success">{$message}<a class="close" data-dismiss="alert">×</a></div>{/if}
                {if isset($info)}<div class="alert alert-info">{$info}<a class="close" data-dismiss="alert">×</a></div>{/if}
				    
					<form class="well" method="post" action="{$loginValidationUrl}"  target="">
				    <fieldset>
				        <legend>Login page:</legend>
				        {ci_form_validation field='username' error='true' assign='username'}
				        {ci_form_validation field='password' error='true' assign=''}
				        
				        <div class="control-group {if isset($username) && $username != ''}error{/if}">
				            <label class="control-label" for="username">Username:</label>
				            <div class="controls">
				                <input type="text" class="input-xlarge" id="username" name="username" value="{ci_form_validation field='username'}">
				                {if isset($username) }{$username}{/if}
				                {* <p class="help-block">Identificator unic al articolului (care va aparea si in link)</p>*}
				                 
				            </div>
				        </div>
				        
				        <div class="control-group {if isset($password) && $password != ''}error{/if}">
				            <label class="control-label" for="password">Password:</label>
				            <div class="controls">
				                <input type="password" size="20" class="input-xlarge" id="password" name="password" value="{ci_form_validation field='password'}">
				                {if isset($password) }{$password}{/if}
				                
				               {* <p class="help-block">Identificator unic al articolului (care va aparea si in link)</p>*}
				                 
				            </div>
				        </div>				      

				        <div class="control-group">
				            <div class="controls">
				                <label class="checkbox">
				                    <input type="checkbox" id="remember" name="remember">Remember me
				                </label>
				            </div>
				        </div>
			        	
				            <button type="submit" class="btn btn-primary" name="login" value="login">Login</button>				           

				</fieldset>
				</form>              

                <!--Body content-->
            </div>
        </div>
    </div>

    {include file="admin/footer.tpl"}
</body>
</html>
